package com.blb.ioc.demo2;

import org.springframework.stereotype.Component;

/**
 * 三星内存
 */
@Component
public class SumsungMemory implements Memory {
    @Override
    public void read() {
        System.out.println("使用三星内存读取数据");
    }

    @Override
    public void write() {
        System.out.println("使用三星内存写入数据");
    }
}
